#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.web.helper;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by well on 16/8/18.
 */
public class ParamUtil {

    public static Long getLong(HttpServletRequest request,String paramName){
        if(request == null){
            return null;
        }
        String val = request.getParameter(paramName);
        if(val == null){
            return null;
        }
        try{
            return Long.parseLong(val);
        }catch(Exception e){

        }
        return null;
    }
}
